package com.devnn.base;

import android.os.Environment;
import android.support.v4.widget.SwipeRefreshLayout;
import android.util.Log;

import java.io.File;

/**
 * Created by devnn on 16/1/11.
 */
public class BaseProject {
    private static String TAG="BaseProject";
    //更新时临时下载位置
    public static String APK_PATH= Environment.getExternalStorageDirectory()+ File.separator+"temp"+File.separator+"temp.apk";
    public static void init(){
        Log.d(TAG, "init");
        File file=new File(APK_PATH);
        if(!file.getParentFile().exists()){
            file.getParentFile().mkdirs();
//            SwipeRefreshLayout s;
//            s.seton

        }
    }

}
